package com.kernel.service.impl;

import com.kernel.dao.IUserDao;
import com.kernel.model.User;
import com.kernel.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/****************************************
 * @name UserServiceImpl
 * @description
 * @author 黄彬恒
 * @since 2018/8/27
 ***************************************/
@Service
public class UserServiceImpl implements IUserService {

    @Resource
    private IUserDao userDao;

    @Override
    public User selectUser(long userId) {
        return this.userDao.selectUser(userId);
    }
}
